<?php // Do not delete these lines
	if ('comments.php' == basename($_SERVER['SCRIPT_FILENAME']))
		die ('Please do not load this page directly. Thanks!');
        if (!empty($post->post_password)) { // if there's a password
            if ($_COOKIE['wp-postpass_' . COOKIEHASH] != $post->post_password) {  // and it doesn't match the cookie
				?>
				<p class="nocomments">This post is password protected. Enter the password to view comments.<p>
				<?php
				return;
            }
        }
		/* This variable is for alternating comment background */
		$oddcomment = 'alt';
//<!-- You can start editing here. -->
?>
<?php if ($comments) : ?>
<h3 class="comments-title">&#8220;<?php the_title(); ?>&#8221; <?php comments_number('还没有回响', '有一条回响', '有%条回响' );?></h3>
<div id="comments">
	<?php foreach ($comments as $comment) : ?>
	<div class="comment" id="comment-<?php comment_ID() ?>">
		<div class="comment-avatar"><?php echo get_avatar( $comment, 50 ); ?></div>
		<div class="comment-content">
			<div class="comment-info"><span><?php comment_author_link() ?></span><?php comment_date('F jS, Y') ?> at <?php comment_time() ?> <?php edit_comment_link('edit','&nbsp;&nbsp;',''); ?></div>
			<?php if ($comment->comment_approved == '0') : ?>
			<em>你的评论正在等待审核...(Your comment is awaiting moderation)</em>
			<?php endif; ?>
		<?php comment_text() ?>
		</div>
		<?php /* Changes every other comment to a different class */
			if ('alt' == $oddcomment) $oddcomment = '';
			else $oddcomment = 'alt';
		?>
	</div>
	<?php endforeach; /* end for each comment */ ?>
</div>
<?php else : /* this is displayed if there are no comments so far */ ?>
	<?php if ('open' == $post->comment_status) : ?><!-- If comments are open, but there are no comments. -->
	<?php else : /* comments are closed */ ?><!-- If comments are closed. -->
	<p class="nocomments">Comments are closed.</p>
	<?php endif; ?>
<?php endif; ?>
<?php if ('open' == $post->comment_status) : ?>
	<div class="comments-title">雁过留声,风过流痕, 人过留名.</div>
	<?php if ( get_option('comment_registration') && !$user_ID ) : ?>
		<p>You must be <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?redirect_to=<?php the_permalink(); ?>">logged in</a> to post a comment.</p>
	<?php else : ?>

	<form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
	请领导点评：<p><textarea name="comment" id="comment"></textarea></p>
		<?php if ( $user_ID ) : ?>
			<p><a href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a> 已经登录. <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?action=logout" title="Log out of this account">退出 &raquo;</a></p>
		<?php else : ?>

		<p><input type="text" name="author" id="author" class="text" value="<?php echo $comment_author; ?>" />
			<label for="author">您的大名 Name <?php if ($req) echo "(<i>必需</i>)"; ?></label></p>
		<p><input type="text" name="email" id="email" class="text" value="<?php echo $comment_author_email; ?>" />
			<label for="email">您的电邮 eMail (我们决不公开它) <?php if ($req) echo "(<i>必需</i>)"; ?></label></p>
		<p><input type="text" name="url" id="url" class="text" value="<?php echo $comment_author_url; ?>" />
			<label for="url">您的的网站 Website (<i>非必需</i>)</label></p>
		<?php if (function_exists('math_comment_spam_protection')){ $mcsp_info = math_comment_spam_protection();?>
		<p><input type="text" name="mcspvalue" id="mcspvalue" class="text" value="" tabindex="4" />
			<label for="mcspvalue">简单求和运算: <?php echo '<b>' . $mcsp_info ['operand1'] . '</b> + <b>' . $mcsp_info['operand2'] . '</b> = ?' ?></label>
			<input type="hidden" name="mcspinfo" value="<?php echo $mcsp_info['result']; ?>" /></p>
			<?php } ?>

<?php endif; ?>
<?php do_action('comment_form', $post->ID); ?>
<p><input name="submit" type="submit" id="submit" class="bt" value="提交留言" /><input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" /></p>
</form>
<?php endif; /* If registration required and not logged in */ ?>
<?php endif; /* if you delete this the sky will fall on your head */ ?>
